package com.ruikong.dazhi.service.basicinfo;



import com.ruikong.dazhi.controller.result.BaseResult;
import com.ruikong.dazhi.entity.basicinfo.ShopType;
import com.ruikong.dazhi.model.output.TreeMenuOutput;

import java.util.List;

/**
 * (ShopType)表服务接口
 *
 * @author HuaJiaYi
 * @since 2021-01-19 16:38:14
 */
public interface IShopTypeService {

    ShopType queryById(Integer id);

//    List<ShopType> queryByPId(Integer id);

    Integer insert(ShopType shopType);

    Integer update(ShopType shopType);

    BaseResult deleteById(Integer id);

    Integer isExist(int id,String shopTypeName);

    List<TreeMenuOutput> queryAllShopTypeTree();

}